package com.master.redis;


/**
 * User模块key的生成
 */
public class UserKey extends BasePrefix{

    //过期时间默认为0,代表永不过期
    private UserKey(String prefix) {
        super(prefix);
    }

    public  UserKey(int expireSeconds, String prefix){
        super(expireSeconds, prefix);
    }

    public static UserKey getById = new UserKey("id");
    public static UserKey getByName = new UserKey("name");
}
